home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / packet / digi37 / digiinfo.eng < prev    next >
Encoding:
Text File  |  1994-09-02  |  21.1 KB  |  496 lines

  1.  
  2.  
  3.                  D I G I  -  I N F O   V 3.7
  4.                 =============================
  5.  
  6.  
  7.             Interlink- and Digipeater-Information
  8.  
  9.  
  10.             (C) 1991-1994 by Patrick Sesseler, DF3VI
  11.  
  12.  
  13. ______________________________________________________________________________
  14.  
  15.  
  16. Description:
  17. ============
  18.  
  19. DigiInfo is a program to inform about the packet network, written for IBM-PCs.
  20. In contrary to other programs (like HamMap) DigiInfo uses textmode.
  21. This makes it possible tu use DigiInfo as a remote-utility (run-program)
  22. for hostmode programms like SP or GP. Also only textmode makes it possible
  23. for blind packet users to get information about the network.
  24.  
  25. DigiInfo offers the following features:
  26.  
  27. - runs with any graphic adapter
  28. - uses standarised data-form (same data used for HamMap and others)
  29. - gives all (known) information about a station
  30. - lists all stations on a certain qrg
  31. - lists all stations in a locator-field
  32. - calculates the fastest route between two stations through the network
  33. - can route an alternative path if needed
  34. - can be started remote in some hostmode-programms
  35. - can "speak" different languages
  36.  
  37. ______________________________________________________________________________
  38.  
  39.  
  40. Informations:
  41. =============
  42.  
  43. DigiInfo was first based on the program DigiRoute by DG6KK,
  44. giving graphical network-information. By the time almost no routine
  45. stayed unchanged, lots were written completely new. Only the router
  46. remained almost unchanged, but this part is not by DG6KK originaly,
  47. but by Djikstra.
  48.  
  49. The basic need of memory is dependant on the maximum of entrys
  50. the program can handle. So I compiled two different versions:
  51. - a normal version with 2500 stations and 6000 links
  52. - a big version for 5000 stations and 10000 links
  53.   (requires more memory, so it may not run remoted anymore)
  54.  
  55. For compiling the data into a better readable (for the computer, hi) form
  56. the program MAKEFST.EXE is needed. It compiles DigiInfo.STN (containing
  57. station data) and DigiInfo.LNK (containing link data) into DigiInfo.FST.
  58. MakeFst can be used for both memory versions of DigiInfo.
  59. If problems occure while compiling the data files a warning message
  60. will be displayed. Main problem is that HamMap-data are sorted
  61. wrong concerning station-SSIDs. For quick sorting these large files
  62. (and all other large files up to some MBs) i have written MegUSort.EXE.
  63. Simply call  MegUSort <infile> <outfile>, where infile may be the same
  64. as outfile (overwriting the original file finally with the sorted).
  65.  
  66. MakeFST can also compile HamMap-UPDATE-files.
  67. For this MakeFst is called with the name ob the update-file
  68. (a complete path may be added). First the old DigiInfo.STN file
  69. is read, then the stations are updated and the new DigiInfo.STN
  70. will be written to disk. After that the sme procedure will be done
  71. for the link update and a new DigiInfo.LNK will be written.
  72. MakeFST is called for multiple update-file each.
  73. After Updating SORT the new files (with MegUsort, see above)
  74. and than call MakeFST again without commandline parameter
  75. to compile the FST-file.
  76.  
  77. ______________________________________________________________________________
  78.  
  79.  
  80. Installation:
  81. =============
  82.  
  83. DigiInfo.EXE will be issued together with MakeFST and speak-files,
  84. all LHArced and 7PLUSsed. So you need 7PLUS and LHA to decode it.
  85.  
  86. From version 3.5 on DigiInfo is multilingual (so for this reason
  87. it is spread EU-wide) and needs speak-files for text output.
  88. All speak-files are named DigiInfo and have a one or two letter extension
  89. indicating the language (by national prefix). Further prefixes
  90. for the same language can be related to a speak-file in DigiInfo.SPK
  91. (e.g. EI-stations will get english text, too). You will find more information
  92. about DigiInfo.SPK at the end of this documentation.
  93.  
  94. Then you need of course DigiInfo.STN and DigiInfo.LNK, containing the data
  95. about stations and links. A smaller version (going with the normal sized
  96. version of DigiInfo) of this files is added to the program.
  97. If you want all data (and if you have enough memory for that!)
  98. you can use HamMap-data (since V4.0); just sort(!) Digi00.STN into
  99. DigiInfo.STN and Digi00.LNK into DigiInfo.LNK. More changes
  100. are not needed.
  101.  
  102. Finally place program- and data-files to use DigiInfo
  103. as a remote program life this:
  104. - DigiInfo.EXE into the RUN-directory (also add that dir in the PATH
  105.                                        in your AutoExec.BAT!)
  106. - MakeFst.EXE and MegUSort.EXE may be anywhere where you find it again, hi.
  107.   But you should'n put it into the RUN-directroy...
  108. - ALL other DigiInfo.* files are put together in a directory
  109.   that is indicated with SET DIGIDATA= path in your AutoExec.BAT.
  110.   You can also set your own (WW)locator with SET OWNQTH=
  111.  
  112. If you run DigiInfo just under DOS, you can put all files together
  113. into any directory you like (no change to AutoExec.BAT is needed then,
  114. but SET OWNQTH is still helpfull).
  115.  
  116. Before DigiInfo can be started the first time you have to compile
  117. the FST-file with MakeFST. Just call MakeFST without any commandline parameter,
  118. but make sure you have about 500kB (or more) memory free.
  119. So normally you can't call MakeFst sucessfully in a secondary DOSshell.
  120. DigiInfo itselve needs less memory, with few data a minimum of
  121. 150kB is required; more data can require up to 400kB.
  122.  
  123. After all that DigiInfo can be executed as remote ( //DIGIINFO in SP or GP,
  124. RUN DigiInfo in TheBox 1.9) as by yourself (SP: Enter <ESC> !DIGIINFO ... ,
  125. GP: <ESC> //RUN DIGIINFO ...). Normal calling from the DOS-prompt
  126. is of course possible, too.
  127.  
  128. A hint for GP-users (V1.50 and later):
  129. Calling <ESC> //DIGIINFO without commandline parameters
  130. will NOT give a help-screen (unlike to calling via DOS),
  131. but a message that this is not possible!
  132. If you need help call <ESC> //DIGIINFO /? .
  133.  
  134. A hint for DR-DOS-User (and also other SHELL-users):
  135. If you start your programs from the shell surface,
  136. the SET-lines must be placed BEFORE the call of the shell programm
  137. (best place them at the beginning) in your AutoExec.BAT file.
  138. Otherwise (SET-lines at the end) the SET-lines will never be executed!
  139.  
  140. ______________________________________________________________________________
  141.  
  142.  
  143. How to use DigiInfo:
  144. ====================
  145.  
  146.  
  147. a) conventional execution (witt commandline parameters):
  148.  
  149. Because calling remote programs gives no possibility for additional
  150. entrys later on all needed parameters must be entered immediately.
  151. The program detetcs the requested function by interpreting
  152. the parameter(s).
  153.  
  154. - NO parameter  : Gives a short help (not in GP 1.50 and later,
  155.                                       see part (b) below).
  156. - ONE parameter: = freqency:
  157.                    All stations listed on that frequency in DigiInfo.STN
  158.                    well be displayed (also if you just enter MHz,
  159.                    than all on this MHz will be shown).
  160.                  = callsign:
  161.                    All available information (QTH, QRG etc.)
  162.                    to that call will be displayed, the geographical
  163.                    coordinates calculated (if loactor is known),
  164.                    and all links (with distance, heading, speed) listed.
  165.                  = Prefix:
  166.                    All call signs with the appropriate prefix
  167.                    will be displayed (when calling DigiInfo remote
  168.                    a prefix must consist of at least two characters!).
  169. NEW:             = Locator-field (e.g. JN39):
  170.                    All Stations inside the locator-field are listet
  171.                    together with status, frequency and locator,
  172.                    if they are qrv and have an user-qrg.
  173.                    Also distance and heading from the locator defined
  174.                    with SET OWNQTH are calculated.
  175.                  = QTH-locator:
  176.                    Is calulated into degree-coordinates.
  177.                    Additionally distance and heading to the locator
  178.                    defined with OWNQTH are calculated (if defined, hi).
  179.                  = /Option:
  180.                    /STAT: Gives summary about memory consuption etc.
  181.                    /?   : Gives short help.
  182.                    /    : "empty Option", only copyright well be displayed.
  183.                    /L:x : Switches to language "x" (one or two letters).
  184.              Hint: You can just enter ONE option at a time.
  185.                    You cannot enter more parameters together with an option!
  186.  
  187. - TWO parameters: The fastest (shortest) route between the two given stations
  188.                   is calculated.
  189.             Hint: DigiInfo only routes via digipeaters and nodes,
  190.                   but not via BBSes, DXCluster or unknown systems.
  191.  
  192.   If digipeater or links failed or are not active you can exclude
  193.   them from the routing -->
  194.  
  195. - More than two parameters:
  196.                   No routing via the given links or digipeaters.
  197.                   Up to 15 exclusions are possible in commandline
  198.                   (more in a file DigiInfo.N_V, see later).
  199.                   A link-exclusion is ONE parameter though needing TWO calls,
  200.                   the calls are seperated by a slash ( / ), not a space!
  201.          Example: I want to know the Route from DB0HOM to ON7RC;
  202.                   the link fron DB0DIG to DB0GE is not available
  203.                   and ON5ZS is not active at all. Then I enter:
  204.                 > DIGIINFO  DB0HOM  ON7RC  DB0DIG/DB0GE  ON5ZS
  205.  
  206. SP only:
  207. If you add an upcase "C" as very last parameter when routing
  208. a SP-compatible connectfile is written. This can be read into SP
  209. by CTRL-L and then send out line by line. The filename
  210. is the destination call and the extension is .C .
  211. (This function is NOT remoteable under SP, because SP adds three
  212.  additional parameters; these are not used but for getting
  213.  the prefix of the caller. You can use it only with  ESC! DIGIINFO ... C .
  214.  
  215. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  216.  
  217. b) Execution as GPRI-programm (since GP V1.50), without parameter:
  218.  
  219. After calling  //DIGIINFO  the programm installs itself resident in memory.
  220. The caller gehts an menu surface and has to enter instruction
  221. (as in a BBS system). The menu has two levels (similar to some
  222. server functions in FBB-bbs):
  223.  
  224. In the highest level you can choose under the following functions:
  225.  
  226. Info : Switch to Menu for information about callsing, frequencies etc...
  227. Route: Switch to Menu for routing from station to station
  228. Stat : Statistics about memory usage
  229. Lang : Changing the language
  230. Quit : Terminate DIGI-INFO
  231.  
  232. Inside the ROUTE-Menu exist the following instructions:
  233.  
  234. Call  : All informationen about Call
  235. Prefix: List of Calls with prefix
  236. Freq  : List of Calls on QRG
  237. Loc   : Locator-filed search or calculation WW-Locator to Degree
  238. Main  : Back to main menu
  239.  
  240. Inside the INFO-Menu exist the following instructions:
  241.  
  242. Start  : StartCall for routing
  243. End    : Dest.Call for routing and calculating route
  244. Not_Via: Exclude digi <Call> or
  245.          link <Call1/Call2> with new calculation of route.
  246.          Up to 15 Not-VIAs are possible !
  247.          Clear Not_Via-List with entry input.
  248. Main   : Back to main menu
  249.  
  250. If an instruction needs an additional parameter (e.g. a callsign)
  251. it is asked for interactive. The parameter can also added directly
  252. to the instruction, seperated by a space).
  253.  
  254. ______________________________________________________________________________
  255.  
  256.  
  257. EXAMPLES:
  258. =========
  259.  
  260. a) conventional:
  261.  
  262. CALL:  (Remote with //...)             Output:
  263. -----                                  -------
  264.  
  265. DIGIINFO                               Gives short help.
  266.  
  267. DIGIINFO /STAT                         Gives memory consuption etc.
  268.  
  269. DIGIINFO /L:D                          Switches to german language
  270. (Not remoteable by SP/TheBox)          (if DigiInfo.D is found).
  271.  
  272. DIGIINFO 144.                          Lists all calls un 2m.
  273. DIGIINFO 438.150                       Lists all calls on that QRG.
  274. DIGIINFO JN39                          Lists all calls in that locator-filed
  275.                                        if they are accessible direct.
  276. DIGIINFO JN39PH                        Converts locator into coordinates
  277.                                        and calculates distance to OWNQTH.
  278. DIGIINFO OE9                           Lists all known calls staring with OE9:
  279.                                        OE9XFR, OE9XPI, OE9XPR ...
  280. DIGIINFO DB0HOM                        Shwos everything known about DB0HOM
  281.                                        (QTH, user-QRG, Links etc.)
  282.  
  283. DIGIINFO DB0GE OE9XPR                  Calculates fastest route from DB0GE
  284.                                        to OE9XPR:
  285.                                  DB0GE <4K8> DB0DQ <1K2> HB9EAS <1K2> OE9XPR
  286.  
  287. DIGIINFO DB0GE OE9                     Calculates all routes from DB0GE
  288.                                        to OE9 (maximum of 9).
  289.  
  290. DIGIINFO DB0GE OE9XPR DB0DQ            Calculates route from DB0GE to OE9XPR
  291.                                        not running via DB0DQ:
  292.        DB0GE <9K6> DB0DIG <9K6> DB0ORT <9K6> FF6KDL <9K6> HB9EAS <1K2> OE9XPR
  293.  
  294. DIGIINFO DB0GE OE9XPR HB9EAS/DB0DQ     Calculates route from DB0GE to OE9XPR,
  295.                                        not running via link DB0DQ/HB9EAS:
  296.                                  DB0GE <4K8> DB0DQ <1K2> DB0HP <1K2> OE9XPR
  297.  
  298. As you see sometimes it can be better
  299. to exclude just a link instead of a digipeater.
  300.  
  301. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  302.  
  303. b) Using DigiInfo as GPRI:
  304.  
  305. Input:                                 Output:
  306. ------                                 -------
  307.  
  308. //DIGIINFO                             Starts DigiInfo, geves a promt
  309.                                        asking for input:
  310.  
  311. Stat                                   Gives memory consumtion etc.
  312.  
  313. Help                                   Gives short help about main menu.
  314.  
  315. Info                                   Switches to INFO-menu
  316.  
  317. Help                                   Gives short help about Info-menu
  318.  
  319. Lang D                                 Switches to german language
  320.                                        (if DigiInfo.D is found).
  321.  
  322. Freq 144.                              Lists all calls un 2m.
  323. Freq 438.150                           Lists all calls on that QRG.
  324.  
  325. Loc JN39                               Lists all calls in that locator-filed
  326.                                        if they are accessible direct.
  327. Loc JN39PH                             Converts locator into coordinates
  328.                                        and calculates distance to OWNQTH.
  329.  
  330. Call OE9                               Calculates all routes from DB0GE
  331.                                        to OE9 (maximum of 9).
  332. Call DB0HOM                            Shwos everything known about DB0HOM
  333.  
  334. Main                                   Back to main menu
  335.  
  336. Route                                  Switches to Route-Menue
  337.  
  338. Help                                   Gives short help to Route-menu
  339.  
  340. Start DB0GE                            Set start call for Routing
  341. End OE9XPR                             Set destination call and calculate
  342.                                        fastest route from DB0GE to OE9XPR
  343. Not_via DB0DQ                          Adds DB0DQ into Not_Via-list
  344.                                        and calculates fastest route
  345.                                        that does not run via DB0DQ
  346. Not_via HB9EAS                         Adds HB9EAS to Not_Via-list hinzu
  347.                                        and calculate fastest route running
  348.                                        neither via DB0DQ nor HB9EAS
  349. Not_via                                A RETURN as an empty input cleares
  350.                                        the Not_Via-list (also the not-vias
  351.                                        listed in DigiInfo.N_V)
  352. Not_via DB0DQ/HB9EAS                   Adds link DB0DQ-HB9EAS in Not_Via-list
  353.                                        and calculates fastest route
  354.                                        that does not run via link DB0DQ-HB9EAS
  355.  
  356. Quit                                   Terminate DigiInfo
  357.  
  358. Some more hints:
  359. - The output is as calling the program conventional (in general, hi)
  360. - It is enough to enter the UPCASE letters of an instruction
  361.   (normally just the first letter)
  362. - several instructions can be seperated by SPACE (up to six),
  363.   but after a parameter nothing may follow!
  364. - changing from rout- to main-menu and back erases Not_Via-list,
  365.   but NOT the not-vias listed in DigiInfo.N_V.
  366.  
  367. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  368.  
  369. c) Data-update with MAKEFST:
  370.    (MAKEFST should NOT be remoted or started within a shell)
  371.  
  372. If you want to update with DIGI01.UPD and DIGI02.UPD,
  373. placed in E:\HAMMAP\STN\UPD, make the following calls
  374. at the primary DOS-promt:
  375.  
  376. MAKEFST E:\HAMMAP\STN\UPD\DIGI01.UPD
  377. MAKEFST E:\HAMMAP\STN\UPD\DIGI02.UPD
  378. MEGUSORT DIGIINFO.STN DIGIINFO.STN
  379. MEGUSORT DIGIINFO.LNK DIGIINFO.LNK
  380. MAKEFST
  381.  
  382. Calling MEGUSORT is not needed if MakeFST runs without warnings.
  383. Never forget the final call of MakeFST without parameters,
  384. compiling the FST-file!
  385. MAKEFST should NOT be called in a secondary DOS-SHELL
  386. if not at least 500kb of memory is available.
  387.  
  388. ______________________________________________________________________________
  389.  
  390.  
  391. Routing quality:
  392.  
  393. The quality given to a route is simmilary to the well known
  394. NetRom quality (but not the same!). The link speed counts as follows:
  395.  
  396. <--->   : 99% (wired link)
  397. <19200> : 99%
  398. <9600>  : 98%
  399. <4800>  : 95%
  400. <2400>  : 92%
  401. <1200>  : 90%
  402. <>-X-<> :  0% (Link not QRV)
  403.  
  404. Routes with qualitis down to 70% are quite fast (normally),
  405. down to 50% mostly good usable, but below that you often need
  406. a good portion of patience, hi.
  407. If a route leads via a not active link or digipeater, the quality
  408. becomes zero and is not shown anymore.
  409.  
  410. Additionaly to any route the total link-length and also ditance and heading
  411. between star- and destination will be calculated, if all locators
  412. of the stations in the path are known!
  413.  
  414. ______________________________________________________________________________
  415.  
  416.  
  417. Special files:
  418.  
  419.  
  420. - DigiInfo.N_V
  421.  
  422. If digipeaters or links are not active for some time,
  423. but you don't want to active the station resp. link data,
  424. you can enter these as exclusion into this file DigiInfo.N_V .
  425. The file must be placed in the same directory as all the other
  426. DigiInfo files are, or it will not be found.
  427. The form of the file is simplest,
  428. just enter the exclusions one in a line (example):
  429.  
  430. 1st Line:  ON5ZS
  431. 2nd Line:  DB0AAC/DB0AAI
  432. 3rd Line:
  433.  
  434. Here one link and one station is excluded.
  435. The file is terminated with an empty line!
  436.  
  437.  
  438. - DigiInfo.SPK (and speak-files)
  439.  
  440. From Version 3.5 on DigiInfo can make output in several languages.
  441. Under SP/DieBox and as GPRI the language is extracted automatically
  442. from the call of the user. For prefixes that have no own language file
  443. you can enter what language should be used for them in DigiInfo.SPK .
  444. Also the default language for use under DOS (and OLD GP before V1.50
  445. as other programs that give no callsign in commandline) is entered here.
  446. DigiInfo.SPK is made as follows:
  447.  
  448. 1st line: G       default language
  449. 2nd line: LX=F    french text for luxemburges
  450. 3rd line: ON=F    and belgium users
  451. 4th line: PA=G    english text for netherlands
  452. 5th line: PE=G
  453. 6th line: OE=D    german text fpr austrian
  454. 7th line: HB=D    and swiss users
  455. 8th line:         empty line!
  456.  
  457. On the left side of the equation sign stands the desired prefix,
  458. on the right side the extension of the speak file.
  459. both sides consist of one or two charactes each.
  460. The speak file for the default language MUST be available,
  461. otherwise DigiInfo cannot start!
  462. A quite complete DigiInfo.SPK and speak files for DL, F and G
  463. are added to the program.
  464.  
  465. The speak files and DigiInfo.SPK must of course be placed in the same
  466. directroy set with DIGIDATA (ass all DigiInfo files).
  467. The files are normal text so you can edit them if other translation needed.
  468. But be careful that neither lines are added nor deleted,
  469. empty lines must stay empty. Where variables are inserted into the lines
  470. it is indicated with square brackets []. Also this sign must be unchanged.
  471.  
  472. If a language is selected but no speak file found the default language
  473. will be activated. Running as GPRI the language can be changed with the
  474. "lang"-command. Under DOS it is changed with  DIGIINFO /L:x
  475. (where "x" is the desired language), which also changes the default language.
  476. Under SP and TheBox this command is disabled when called remote.
  477.  
  478. ______________________________________________________________________________
  479.  
  480.  
  481. Final remarks:
  482.  
  483. The program was tested as good as possible, and i hope
  484. that no severe errors (apart from lack of memory, hi) will occure.
  485. Because of the increased amount of data the needed memory
  486. has increased, too. So the use as remote program may be difficult.
  487. If you any other problem, just ask me. I'll try to answer
  488. within a week (plus forwarding time!).
  489.  
  490.  
  491.  /_/_/__/__/__/__/  vy 73                                     ***
  492. / / /  /! /  /  /         &                                  *   *
  493.         !                   55 de Patrick, DF3VI @DB0HOM.#SAR.DEU.EU
  494.         !                                                    *   *
  495. DOK Q07 ! Loc. JN39PH                                         ***
  496.